import { PartialType } from '@nestjs/mapped-types';
import { IsString } from 'class-validator';
import { QueryDto } from 'src/common/dto/query.dto';

/**
 * 查询用户
 */
export class QueryUserDto extends PartialType(QueryDto) {
  @IsString()
  username: string;

  @IsString()
  name: string;
}
